//
//  PatientViewController.m
//  Nurse
//
//  Created by Sunny on 13-12-16.
//  Copyright (c) 2013年 RainSets. All rights reserved.
//

#import "PatientViewController.h"
#import "TestView.h"
#import "PatientInfoView.h"
@interface PatientViewController ()

@end

@implementation PatientViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
       
    }
    return self;
}


- (void)viewDidLoad
{
    [super viewDidLoad];
    
    
    
     self.title = @"病人";
    
    
    NSArray *ibs = [[NSBundle mainBundle] loadNibNamed:@"PatientInfoView" owner:nil options:nil];
   // TestView *test = [ibs objectAtIndex:0];2
    _pInfoView = (PatientInfoView *)[ibs objectAtIndex:0];
    _pInfoView.backgroundColor=[UIColor colorWithRed:154/255.0 green:238/255.0 blue:225/255.0 alpha:1];
    [self.view addSubview:_pInfoView];
    
    
    // Do any additional setup after loading the view from its nib.
}



- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
